package org.karelun.gef.model;

import org.eclipse.draw2d.geometry.Dimension;

public class InterfaceModel extends Node{

	private static final long serialVersionUID = 4518566431402860826L;
	
	private static int i=0;
	
	private String interfaceNmae="Interface"; //$NON-NLS-1$
	
	public InterfaceModel(){
		super();
		if(i>0)
			interfaceNmae="Interface"+String.valueOf(i); //$NON-NLS-1$
		setText(interfaceNmae);
		i++;
		setSize(new Dimension(40,40));
		
		String id=String.valueOf(System.currentTimeMillis());
        setId(id);
	}
}
